{% extends "base.html" %}

{% block javascripts %}
<script language="javascript" defer="defer" src="{{ JAVASCRIPT_URL }}queryorselect.js"></script>
{% endblock %}

{% block pagetitle %}Query or select{% endblock %}

{% block content %}
	<IMG SRC="/static/img/bar/{{anti}}thesis.png" WIDTH=900 ALT="Progress Bar" style="margin-bottom: 20px">
	<p style="font-style: italic">Please insert a query to search for an article or give a link to a document.</p><br />
	<input type="text" name="query" value="search..." onfocus="this.value=''" id="query" /><input type="button" value="Search" id="searchbutton" />&nbsp;
	<form action="{{ next }}" method="POST" style="display: inline;">
		{% csrf_token %}
		<input type="text" name="link" value="Provide a link" onfocus="this.value=''"  /><input type="submit" value="Triangulate" />
	</form>
	<form action="{{ next }}" method="POST" style="display: inline;" id="linkform">
		{% csrf_token %}
		<div class="results_container"></div>
	</form>
{% endblock %}
